package com.luckku.boot.model.entity;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import lombok.experimental.Accessors;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

/**
 *
 * @author  luckku
 * @date 2021-12-12
 */

@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName ( "user" )
public class User  implements Serializable {


	/**
	 * 用户id
	 */
   	@TableId(value = "user_id" )
	private String userId;

	/**
	 * 用户账号
	 */
   	@TableField(value = "account" )
	private String account;

	/**
	 * 加密后的密码
	 */
   	@TableField(value = "password" )
	private String password;

	/**
	 * 用户邮箱
	 */
   	@TableField(value = "email" )
	private String email;

	/**
	 * 用户积分
	 */
   	@TableField(value = "point" )
	private Long point;
}
